.dashboard-statistics {
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    display: flex;

    .l-tab {
        height: 100%;
        width: 52px;

        .tab {
            cursor: pointer;
            padding: 16px;
            line-height: 1.5;
            width: 100%;
            font-size: 20px;
            font-weight: 500;
            color: var(--font-gray);
            height: auto;
            background: #fdfdfd;
            white-space: normal;
            margin-bottom: 8px;
            border-radius: 4px 0 0 4px;
            transition: color .3s;

            &.isactive {
                color: var(--primary-color);
                box-shadow: 2px 5px 5px #bbb;
                background: #fff;
            }
        }
    }

    // 运营
    .stat-operation {
        padding: 29px 40px;
        background: #fff;
        height: 100%;
        display: flex;
        border-radius: 0 4px 4px 4px;
        width: 100%;

        .chart-container {
            width: calc(50% - 40.5px);

            .el-tabs {
                height: 100%;
                display: flex;
            }

            :deep(.el-tab-pane) {
                height: 100%;
            }

            :deep(.is-scrollable) {
                display: flex !important;
                align-items: center !important;
            }

            :deep(.el-tabs__item) {
                cursor: pointer;
                color: #4e5969;
                position: relative;
                transition: color 0.3s ease;
                height: 52px;
                line-height: 52px;
                font-size: 20px;
                padding: 0 20px;
                box-sizing: border-box;
                display: inline-block;
                list-style: none;
                font-weight: 500;
                position: relative;
                /* 平滑切换字体颜色 */

                &:hover {
                    color: #4080ff;
                }

                &.tabsActive {
                    color: #1d2129;
                    font-weight: 600;
                }

                &:nth-child(2) {
                    padding-left: 0 !important;
                }

            }


            :deep(.el-tabs__active-bar) {
                background-color: #1d2129;
                height: 3px;
            }


            .chart-title {
                font-size: 20px;
                font-weight: 600;
                line-height: 20px;
                color: var(--font-black);
                margin-bottom: 35px;
            }

            .chart-datas {
                display: flex;
                align-items: flex-start;

                div {
                    color: var(--font-dark-gray);
                    font-size: 12px;
                    margin-bottom: 12px;
                }

                p {
                    color: var(--font-black);
                    font-size: 20px;
                    font-weight: bold;
                }

                .unit-w {
                    font-size: 12px;
                    font-weight: 400;
                    margin-left: 1px;
                    font-weight: bold;
                }

                .chart-datas-item:not(:last-of-type) {
                    margin-right: 60px;
                    margin-bottom: 30px;
                }
            }

            .chart-row {
                display: flex;
                align-items: center;
                justify-content: space-between;

                .chart-unit {
                    color: var(--font-dark-gray);
                    font-size: 12px;
                }

                .chart-switch {
                    display: flex;

                    span {
                        cursor: pointer;
                        transition: color .3s;
                        color: var(--font-dark-gray);
                        font-size: 12px;

                        &:first-child {
                            border-right: 1px solid var(--border-color);
                            padding-right: 12px;
                            margin-right: 12px;
                        }
                    }

                    .active {
                        color: var(--primary-color);
                    }
                }
            }
        }

        div.split-line {
            height: 434px;
            border-right: 1px solid #e5e6eb;
            margin: 0 40px;
        }
    }

    // 工单
    .statistics-workorder {
        background: #fff;
        padding: 29px 40px;
        border-radius: 0 4px 4px 4px;
        width: 100%;

        // 工单头部
        .statistics-workorder-header {
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;

            .statistics-workorder-title {
                font-size: 20px;
                font-weight: 600;
                color: var(--font-black);
                display: flex;
                align-items: center;

                .all {
                    margin-left: 10px;
                    height: 23px;
                    line-height: 23px;
                    padding: 0;
                    color: #165dff;
                    font-size: 14px;
                    cursor: pointer;
                }
            }

            .medium {
                color: var(--primary-color);
                border-color: var(--primary-color);
            }
        }

        // 工单列表
        .workorder-list {
            min-height: 330px;

            .workorder-list-item {
                width: 100%;
                background: #fbfbff;
                border-radius: 4px;
                padding: 18px 20px;
                display: flex;
                flex-direction: column;
                margin-bottom: 20px;

                .workorder-title {
                    display: flex;
                    color: #86909c;
                    line-height: 12px;
                    padding-bottom: 14px;
                    justify-content: space-between;
                }

                .workorder-content {
                    display: flex;
                    justify-content: space-between;

                    .workorder-html {
                        font-size: 16px;
                        line-height: 24px;
                        text-align: left;
                        white-space: normal;
                        flex: 1;
                        transition: color .3s;
                        cursor: pointer;
                        color: #666;

                        &:hover {
                            color: var(--primary-color);
                        }
                    }
                }
            }
        }
    }

}